//
//  NEDNotificationHUB.h
//  SuoShi
//
//  Created by 林宁宁 on 2019/10/31.
//  Copyright © 2019 小红许. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@interface NEDNotificationHUB : UIView

@property(nonatomic, strong) UILabel * textLabel;
@property(nonatomic, strong) UILabel * detailTextLabel;
@property(nonatomic, strong) UIImageView * imageView;
@property(nonatomic, strong) UIView * contentView;
@property(nonatomic, assign) NSTimeInterval duration;

@property(nonatomic, copy) void (^tapActionBlock)(NEDNotificationHUB * passInfo);

+ (NEDNotificationHUB *)showText:(NSString *)text;

+ (NEDNotificationHUB *)showConfig:(void(^ _Nullable)(NEDNotificationHUB * passHUB))configBlock;

+ (void)dismiss;

- (void)show;

@end


NS_ASSUME_NONNULL_END
